package com.tensquare.article.client.impl;

import com.tensquare.article.client.NoticeClient;
import com.tensquare.article.pojo.TbNotice;
import com.tensquare.entity.Result;
import com.tensquare.entity.StatusCode;
import org.springframework.stereotype.Component;

@Component
public class NoticeClientImpl implements NoticeClient {
    @Override
    public Result save(TbNotice notice) {
        System.out.println("通知服务调用异常！" + notice.toString());
        return new Result(false,"错误", StatusCode.ERROR);
    }
}
